package com.java.testdmo;

public class Cat extends Animal {

	String animalName="李四";

	public void dohunting() {
		
		System.out.println(animalName + " is hunting...");
	}
	//

	public String getAnimalName() {
		return animalName;
	}

	public void setAnimalName(String animalName) {
		this.animalName = animalName;
	}


}
